//
//  PostDetailTableViewCell_header.h
//  SXHomeTownClub
//
//  Created by 周思扬 on 2018/5/29.
//  Copyright © 2018年 jsx. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "PostDetailData.h"

typedef void(^PostDetailTableViewCell_headerBlock)(int);
typedef void(^PostDetailTableViewCell_userHeadBlock)(void);
typedef void(^PostDetailTableViewCell_focusHeadBlock)(void);

@interface PostDetailTableViewCell_header : UITableViewCell
@property (weak, nonatomic) IBOutlet UILabel *subjectLab;
@property (weak, nonatomic) IBOutlet UILabel *readNumLab;
@property (weak, nonatomic) IBOutlet UIImageView *headImg;
@property (weak, nonatomic) IBOutlet UIButton *nameBtn;
@property (weak, nonatomic) IBOutlet UILabel *timeLab;
@property (weak, nonatomic) IBOutlet UILabel *levelLab;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *contentBgViewHeight;
@property (weak, nonatomic) IBOutlet UIView *zanView;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *zanViewHeight;

@property (weak, nonatomic) IBOutlet UIButton *focusBtn;

@property (weak, nonatomic) IBOutlet UIView *contentBgView;
@property(nonatomic,strong)PostDetailData * contentData;

@property(nonatomic,copy) PostDetailTableViewCell_headerBlock block;
@property(nonatomic,copy) PostDetailTableViewCell_userHeadBlock userblock;
@property(nonatomic,copy) PostDetailTableViewCell_focusHeadBlock focusblock;

@end
